Skip to main content

CoordinatesMetatable

Members


Clone(self) → (self, a)

It has no parameters.

The only return is a Coordinates.


CoordStringWithoutPlanet(self) → (self, a)

It has no parameters.

The only return is a string.


GetRandom(self) → (self, a)

It has no parameters.

The only return is a Random.


GetSeed(self) → (self, a)

It has no parameters.

The only return is a number.


ToArray(self) → (self, a)

It has no parameters.

The only return can be any of the following types:

  • number
  • boolean

__add(self, a) → (self, a)

The only parameter is a Coordinates.

The only return is a Coordinates.


__div(self, a) → (self, a)

The only parameter is a Coordinates.

The only return is a Coordinates.


__eq(self, a) → (self, a)

The only parameter is a Coordinates.

The only return is a boolean.


__index

It is of the type CoordinatesMetatable.


__mul(self, a) → (self, a)

The only parameter is a Coordinates.

The only return is a Coordinates.


__tostring(self) → (self, a)

It has no parameters.

The only return is a string.


type

It is always the string Coordinates.

Luau Type

This is the luau type for CoordinatesMetatable. It may help clear up mistranslations from the raw data to the wiki page (as it is an automatic process).

type CoordinatesMetatable = {
type: "Coordinates",
__eq: (self: Coordinates, Coordinates) -> boolean,
__mul: (self: Coordinates, Coordinates) -> Coordinates,
ToArray: (self: Coordinates) -> { number | boolean },
__add: (self: Coordinates, Coordinates) -> Coordinates,
__div: (self: Coordinates, Coordinates) -> Coordinates,
Clone: (self: Coordinates) -> Coordinates,
GetRandom: (self: Coordinates) -> Random,
GetSeed: (self: Coordinates) -> number,
CoordStringWithoutPlanet: (self: Coordinates) -> string,
__index: CoordinatesMetatable,
__tostring: (self: Coordinates) -> string,
}